<h2>New Post</h2>
<%= error_messages_for :post -%>

<h3>Topic: <%= @topic.name %></h3>

<% form_for :post, :url => posts_path(:forum_id => @topic.forum, 
                                      :topic_id => @topic) do |f| -%>
  <p>Message:<br /><%= f.text_area :body, :rows => 8, :cols => 60 -%></p>
  <%= submit_tag 'Save' -%> or 
  <%= link_to 'Cancel', topics_path(:id => @topic, :forum_id => @topic.forum) -%>
<% end -%>
